package com.ronghuanet.car.query;

import com.ronghuanet.basic.query.BaseQuery;
import lombok.Data;

import java.math.BigDecimal;

//select * from t_user where name like xxx order by id desc limit 1,10
@Data
public class CarSearchQuery extends BaseQuery {
    //==========高级查询条件============//
    private Long carType;
    private BigDecimal priceMin;//最小价格
    private BigDecimal priceMax;//最大价格
    private Integer carAgeType; //0 以下 1 以上
    private Integer carAge;//车辆
    //是否超值
    private Integer costeffective;
    //急售
    private Integer rushsale;
    //准新车
    private Integer quasinewcar;
    //可迁全国
    private Integer transitivecountry;
    //==========高级查询条件============//
    //==========排序条件============//
    private String orderField;//排序字段
    private String orderType; //排序类型 desc降序 asc升序号
    //==========排序条件============//
    //==========分页条件============//
    //不用写了BaseQuery已经有了
    //==========分页条件============//
}
